package com.znxs.bs_c.service;

import com.znxs.bs_c.common.Result;
import com.znxs.bs_c.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 左拿
 * @since 2023-08-21
 */

public interface IRoleService extends IService<Role> {

    Result getMenuIdByRoleId (Integer roleId);

    Result addMenuIdAndRoleId(Integer roleId, List<Integer> menuIds);

}
